Reminder item: Logic units

Adder: used to add two 32-bit numbers together

Adder

Arithmetic Logic Unit (ALU): used for all arithemtic operations (subtraction, addition, etc.)

ALU

Multiplexor (MUX): select one of 2 (or more) values to use

MUX

From textbook page 246

CPU design diagrams

Textbook p.246: high-level MIPS CPU diagram

Textbook p.247: mid-level MIPS CPU diagram

Textbook p.265: low-level MIPS CPU diagram

Note: For final exam, need to be able to read and understand CPU design schematics/diagrams like those in the above images.

Datapath:

Control circuitry:

CPU components

Instruction memory component: